﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wizardry
{
    public abstract class WizardPageViewModelBase : IWizardPageViewModel
    {
        #region IWizardPageViewModel Members

        public virtual bool IsValid
        {
            get { return true; }
        }

        public abstract string PageTitle { get; }

        public event EventHandler IsValidChanged;

        public virtual void OnNavigatedFrom(IDictionary<string, object> sharedContent)
        {
            
        }

        public virtual void OnNavigatedTo(IDictionary<string, object> sharedContent)
        {

        }

        #endregion
    }
}
